home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1995 April / Internet Tools.iso / mail / listserv / linux / linux.diffs.6.0c.Z / linux.diffs.6.0c
Encoding:
Internet Message Format  |  1994-06-21  |  2.6 KB

  1. From unix-listproc@avs.com Wed Jun 22 12:26:41 1994
  2. Return-Path: <unix-listproc@avs.com>
  3. Received: from caffeine by cs.bu.edu (8.6.4/Spike-2.1)
  4.     id MAA27971; Wed, 22 Jun 1994 12:26:40 -0400
  5. Received: from  (caffeine) by caffeine (5.0/SMI-SVR4)
  6.     id AA20735; Wed, 22 Jun 94 12:19:32 EDT
  7. Date: Wed, 22 Jun 94 12:19:32 EDT
  8. Message-Id: <m0qGV3w-000QEmC@itu2.sun.ac.za>
  9. Reply-To: pi@itu2.sun.ac.za
  10. Originator: unix-listproc@avs.com
  11. Sender: unix-listproc@avs.com
  12. Precedence: bulk
  13. From: Pieter Immelman <pi@itu2.sun.ac.za>
  14. To: Multiple recipients of list <unix-listproc@avs.com>
  15. Subject: ListProcessor and Linux
  16. X-Listprocessor-Version: 6.0c -- ListProcessor by Anastasios Kotsikonas
  17. X-Comment: ListProcessor Support List
  18. content-length: 1877
  19. Status: O
  20.  
  21. A lot of people contacted me after I made the patch for 6.0a (which is
  22. part of the archive) asking for 6.0c patches, so here they are.  If you
  23. get a message from catmail claiming it is run from an invalid account,
  24. add an entry for nobody (uid 32767) to your /etc/passwd.
  25.  
  26. Hope this helps someone,
  27. -- pi
  28.  
  29. PS: please shout if I bungled on the patch.
  30.  
  31. === cut here ===
  32. diff -ru2 orig/src/Makefile server/src/Makefile
  33. --- orig/src/Makefile   Mon May 16 23:45:39 1994
  34. +++ server/src/Makefile Mon May 16 23:03:13 1994
  35. @@ -136,12 +136,13 @@
  36.  
  37.  # define your compiler:
  38. -CC             = cc
  39. +CC             = gcc
  40.  
  41.  # define special symbols (system, preprocessor options, etc):
  42. -DEFINES                = -DHAVE_SELECT_H -DHAVE_ULIMIT_H -DHAVE_SETJMP_H \
  43. -                 -DHAVE_TZFILE_H
  44. +DEFINES                = -DHAVE_ULIMIT_H -DHAVE_SETJMP_H \
  45. +                 -DZMAILER \
  46. +                 -DUCB_MAIL=\"/bin/mailx\"
  47.  
  48.  # define the optimization level
  49. -OPTIMIZATION   = -g
  50. +OPTIMIZATION   = -O6 -fwritable-strings
  51.  
  52.  # define where the preprocessor is:
  53. diff -ru2 orig/src/fio.c server/src/fio.c
  54. --- orig/src/fio.c      Mon May 16 23:45:51 1994
  55. +++ server/src/fio.c    Mon May 16 23:11:48 1994
  56. @@ -293,4 +293,6 @@
  57.  #ifdef __NeXT__
  58.    if (utime (file, tvp)) {
  59. +#elif defined (linux)
  60. +  if (utime (file, &utimest)) {
  61.  #elif defined (i386)
  62.    if (utime (file, utimest)) {
  63. diff -ru2 orig/src/misc.c server/src/misc.c
  64. --- orig/src/misc.c     Mon May 16 23:46:02 1994
  65. +++ server/src/misc.c   Mon May 16 23:39:52 1994
  66. @@ -1076,6 +1076,12 @@
  67.                          fprintf (stderr, "%s%s%c\n", argv[0], str, ch);
  68.  
  69. +#ifdef linux
  70.  int _getopt (int argc, char **argv, char *opts)
  71.  {
  72. +  return getopt(argc, argv, opts);
  73. +}
  74. +#else
  75. +int _getopt (int argc, char **argv, char *opts)
  76. +{
  77.    static int sp = 1;
  78.    register int c;
  79. @@ -1119,4 +1125,5 @@
  80.      return c;
  81.  }
  82. +#endif
  83.  ^L
  84.  /*
  85. === cut here ===
  86.  
  87.